<?php

namespace App\models;

use Illuminate\Database\Eloquent\Model;

class OrderGoods extends Model
{
    //
    protected $table = 'tp_order_goods';
    protected $primaryKey = 'rec_id';

    public function getGoodsOrder()
    {
        return $this->belongsTo(Order::class,'order_id','order_id');
    }
}
